package com.mall.enums;

public enum MallActivityEnum {

	USERACTIVITY("用户发起的活动",0),SELLERACTIVITY("卖家发起的活动",1),CHOUJIANGACTIVITY("抽奖活动",2),
	USINGACTIVITY("启用的活动",1),UNUSINGACTIVIVTY("未启用的活动",0);
	
	private String desc;
	private int code;
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	
	private MallActivityEnum(String desc,int code){
		this.desc = desc;
		this.code = code;
	}
}
